package cn.neusoft.bean;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

//@Data
//@ToString
public class Employee {
	private Integer empno;
	private String ename;
	private Date hiredate;
	public Employee() {
		System.out.println("空构造方法");
	}

	public Employee(Integer empno, String ename) {
		this.empno = empno;
		this.ename = ename;
	}

	public Integer getEmpno() {
		return empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEmpno(Integer empno) {
		this.empno = empno;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public Date getHiredate() {
		return hiredate;
	}

	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}
	@Override
	public String toString() {
		return "Employee{" +
				"empno=" + empno +
				", ename='" + ename + '\'' +
				", hiredate=" + hiredate +
				'}';
	}
}
